#ifndef MATRIX_H
#define MATRIX_H

#include <QString>

class Matrix
{
public:
    int *matrix;
    int rows;
    int cols;
public:
    // Matrix(int r, int c);
    Matrix();
    ~Matrix();

    void create(QString str);
    void create2(QString str);
    void destory();

    QString dump();

    Matrix* multiply(Matrix& b);
    Matrix* plus(Matrix& b);
};

#endif // MATRIX_H
